# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=gio-qt
pkgver=0.0.12
pkgrel=1
pkgdesc='Gio wrapper for Qt applications'
arch=('loong64' 'x86_64')
url="https://github.com/linuxdeepin/gio-qt"
license=('LGPL3')
depends=('glibmm' 'qt5-base')
makedepends=('cmake')
source=("https://github.com/linuxdeepin/gio-qt/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('6d372df0f7592ea33c7a4ef2fa743cd398277cb6ca3c1176347ad63a8aa7e866084d9f3e4da9c41a95f5d396509a7a85e251667767c0796257e3bedde9094876')

build() {
  cd gio-qt-$pkgver
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=OFF .
  make
}

package() {
  cd gio-qt-$pkgver
  make DESTDIR="$pkgdir" install
}
